package com.zhala.system.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author SSH
 * @version 1.0
 * @description: TODO
 * @date 2024/11/12 16:55
 */
@Component
@ConfigurationProperties(prefix = "steel.plate")
public class MaterialConfig {
    private List<MaterialItem> materials;

    public List<MaterialItem> getMaterials() {
        return materials;
    }

    public void setMaterials(List<MaterialItem> materials) {
        this.materials = materials;
    }
}
